if [ -n "$1" ] ; then

  data_date=$1

else

  data_date=`date -d "-1 days" +%F`

fi



hadoop fs -put /home/bwie/my/test/app.access.log.${data_date} /warehouse/app_logs/${data_date}/